-
Home
-
Tiered Pricing Table for WooCommerce
-
4.2.2
-
Code
-
Classes
- RoleBasedPriceManager
Total Complexity |
68 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
396 |
Lines of code |
184 |
Logical lines of code |
109 |
Comment lines |
120 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getPriceRules() |
A |
51 |
9 |
26 |
roleHasRules() |
A |
52 |
9 |
24 |
getProductQtyMin() |
S |
57 |
5 |
16 |
updatePercentagePriceRules() |
S |
62 |
6 |
10 |
getPricingType() |
S |
59 |
5 |
12 |
updateFixedPriceRules() |
S |
63 |
5 |
9 |
getProductRegularRolePrice() |
S |
64 |
3 |
9 |
getProductSaleRolePrice() |
S |
64 |
3 |
9 |
getProductDiscount() |
S |
64 |
3 |
9 |
getProductDiscountType() |
S |
65 |
3 |
8 |
getProductPricingType() |
S |
64 |
3 |
9 |
variationHasNoOwnRules() |
S |
65 |
3 |
8 |
updatePriceRulesType() |
S |
71 |
2 |
5 |
updateProductQtyMin() |
S |
73 |
2 |
4 |
updateRegularRolePrice() |
S |
72 |
2 |
4 |
updateSaleRolePrice() |
S |
73 |
2 |
4 |
deleteAllDataForRole() |
S |
61 |
1 |
12 |
getPercentagePriceRules() |
S |
78 |
1 |
3 |
getFixedPriceRules() |
S |
78 |
1 |
3 |